package cn.edu.sdjzu.xg.eagle.Service;

import cn.edu.sdjzu.xg.eagle.entity.Condition;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface CommonDaoService {

    int countAll(Connection connection, String tableName) throws SQLException;

    int count(Connection connection, String tableName, List<Condition> conditionList) throws SQLException;
}
